/**
 * Project oo_thread
 */


#ifndef _CONSUMERTHREAD_H
#define _CONSUMERTHREAD_H

#include "Thread.h"
#include "TaskQueue.h"

class ConsumerThread: public Thread {
public: 
    
/**
 * @param taskQue
 */
ConsumerThread(TaskQueue & taskQue);
private: 
    TaskQueue & _taskQue;
    
void run()override;
};

#endif //_CONSUMERTHREAD_H
